using ZR.Model;
using ZR.Model.Dto.Business.ProductionControl;
using ZR.Model.Models.ProductionControl;

namespace ZR.Service.IBusinessService
{
    /// <summary>
    /// 订单信息表service接口
    /// </summary>
    public interface IOrderPlanService : IBaseService<OrderPlan>
    {
        public PagedInfo<OrderPlan> SelectOrderPlanList(OrderPlanQueryDto user, PagerInfo pager);

        PagedInfo<OrderPlanDto> GetList(OrderPlanQueryDto parm);

        OrderPlan GetInfo(int Id);

        OrderPlan AddOrderInfo(OrderPlan parm);

        int UpdateOrderInfo(OrderPlan parm);

        /// <summary>
        /// 导入
        /// </summary>
        /// <param name="users"></param>
        /// <returns></returns>
        (string, object, object) ImportOrderPlans(List<OrderPlan> users);

        string UpdateOrderStateForActivate(int id, int state);
    }
}